This is sometimes factually incorrect. You are legally obligated to identify yourself in certain situations and refusal to do so will get you arrested. If a cop “suspects you of having committed a crime” in a state with a statute for stop and identify you legally have to do so. 23 states have these statutes. The statues vary a bit and generally require probable cause but the bar for that can be quite low (eg are you black and outside? Probable cause!)
And of course if you are operating a motor vehicle you are required to identify yourself when stopped
Blanket statements like yours are misleading and confusing. They lead to people getting seriously injured or even killed because they then believe that they truly can legally say absolutely nothing to cops ever with legal impunity, which is often not the case. Cops don’t respond well to people not following the rules correctly. The rules are confusing, likely intentionally
I had an sd card with a horribly compressed version of the first season of aqua teen hunger force on mine. People were so jealous, probably (they weren’t)