I am pretty confident it is the same in Canada. You do not have to give police your ID if you are out doing something normal and the police bully you for not being sufficiently afraid.
“The secret of all victory lies in the organization of the non-obvious.” -Marcus Aurelius