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.
how many states have the stop and identify statute
Stop and identify laws exist in 24 states.
what are stop and identify statutes exactly
Stop and identify statutes are laws in several U.S. states that authorize police to lawfully order people whom they reasonably suspect of a crime to state their name.

Question: what if there isn't reasonable suspicion
Self-contained rewrite: what happens if there isn't reasonable suspicion when police stop someone under a stop and identify statute