OK.
*Snip*
Cops have a knack for getting annoyed at people who exercise their rights. They might charge you with violating the must-show provision of the permit statute. Also, cops enjoy their catch-all statutes: obstruction, disorderly conduct, etc. If an annoyed cop can find a way to wedge your situation into the obstruction statute, he just might do it, and let a judge sort it out. And, the judge just might agree with him.
*SNIP*
Disturbing the peace....
The good news is that most of the time you can beat those charges based on the original cause.
Refusal to show ID when not required, cops go with obstruction normally. That is easy because they are not investigating any criminal activity if OC is legal.
Disorderly conduct, when a cop causes a scene when you stand up for yourself. There was no scene until the officer created one.
Disturbing the peace, similar to disorderly.
___
IMO it's best to not refuse but to question what statute requires your compliance with their request.
Don't answer questions, ask them! Am I free to leave? Why are you detaining me? Am I under arrest? What law are you claiming I'm violating? What did YOU witness?