That is not correct.
In a consensual encounter, with no reasonable, articulable suspicion of a crime, the police do not have the legal authority to demand identification.
Cross-posted: