A while back US SC ruled in Kolender v. Lawson
that a law requiring folks to generally carry ID and show them on demand is unconstitutional.
But thenlast year the US SC upheld 5-4 in Hiible v. Nevada
a nevada statute requiring folks to state their names on demand by LEOs assuming the LEOs had detained them properly under reasonable suspician of breaking a law, a so-called Terry
stop - the penalty for remaining silent was a very small fine. The Hiibel
opinion was very weird, noting that bad guys with a legitamate 5th amendment reason to refuse to stste their name would be constitutionally protected from statugtheir name.
Most states and localities have no stop & ID laws, and the VA legislature specifically rejected such a bill in 2005.