How are you going to enforce it? By determining the identity of the person who acts suspiciously.
When you are observed breaking the law you will be asked for identification. Is that a problem?