I guess you did not look at the law where I live and that of the story. Whereas in Alabama, “you are wrong.”
““Under Alabama law 15 –5–30 if the police have reasonable suspicion someone is committing, has committed, or about to commit a felony or other public offense, they may demand of him his name, address, and explanation of actions, but that does not give them the right to require identification.”
AND...as I wrote earlier, “Depends on the state.”
Regardless, if a cop demands ID and you walk away refusing, it probably isn’t going to go well.
One can always sue the cop or town later. Not saying it is right but it sure as heck is prudent. Regardless of state law.