Conversation so far:
do you have to give the cops your id
Some states have what are called “Stop and Identify” statutes that require someone suspected of criminal activity to provide identification to police, making refusal a crime.
do you have to give the cops your id in california
California has no such Stop and Identify statute, so if you refuse to provide an ID while police are detaining you, they can't arrest you just for refusing.

Question: how many states have the statute
Self-contained rewrite: how many states have the stop and identify statute