Any government can have "jurisdiction" if they bastardize the law in their favour or do things like violate the charter of rights.Except they do have jurisdiction. If they don't feel free to sue them. And BTW the charter already was used to test and eliminate laws that demand ID be carried at all times. Hence no vagrancy laws.
But use of ID to establish residency? Quite legal.
ID identifies who you are and where you live. It's not supposed to be used to infiltrate your personal business.
Same goes for your will and estate documents.
Why does the municipal government need to know everything about your employment?
You appear to be naive or are freely giving up your freedom because some politicians keep changing/breaking the laws to suit their agenda.

