ID requirerments are complicated. In
Hiibel v. Sixth Judicial District Court of Nevada, the Supreme Court upheld state laws requiring citizens to disclose their identity to police when officers have reasonable suspicion to believe criminal activity may be taking place. Commonly known as "stop and identify" statutes, these laws permit police to arrest criminal suspects who refuse to identify themselves.
Currently the following states have stop and identify laws: AL, AR, CO, DE,
FL, GA, IL, KS, LA, MO, MT, NE, NH, NM, NV, NY, ND, RI, UT, VT, WI
Regardless of your state's law, keep in mind that police can never compel you to identify yourself without reasonable suspicion to believe you're involved in criminal activity. Rather than asking the officer if he/she has reasonable suspicion, test it yourself by asking if you're free to go.
If the officer says you're free to go, leave immediately and refrain from answering any additional questions.
If the officer detains you, you'll have to decide whether withholding your identity is worth the possibility of arrest or a prolonged detention.
basically law in forment can use this bring to the station and go from there the original arrest might not hold up in court but if you have warrants/or visa issues or anything to hide it will more than likly come out at this point so they have you on that or if you have nothing to hide you are released after going though the hassle of being arrested and even if you are not charged, anytime you are arrested it stays on your record as an arrest.