Welcome to OCDO.
This is exactly the type of conditioning I was given. "If you have nothing to hide, just let them check" my Dad's advice for traffic stops when I started driving. I did that for a while, but as a young white kid in Tucson I found myself getting pulled over at least once a week. Mostly because I had friends in rough neighborhoods, so a cop was certain I was either there to score some drugs for myself or get a larger load to take back to the white suburbs.
When the officer realized his hunch was wrong the probing started, they would keep me for as long as an hour on the roadside digging through my car/backpack. At this point any little thing they discovered (after getting me to waive my 4th amendment rights) was trumped up to justify the time spent on the stop. And when I say little things I mean one of the two bulbs burnt out in the third tail light or measuring the hight of the car, measuring tire tread with a penny, etc.
Over time (and a family friend who was a cop) I learned to exercise my right to not be (illegally) searched by not waiving my rights (4th, 5th, etc.). My stops became shorter and I got less tickets. To my parents this equated to "getting into less trouble", I call it avoiding harassment.
To understand that you've been conditioned to comply with any request given by LE (law enforcement) I'm going to ask you to expand what you're willing to comply with (rhetorical question). If you have "nothing to hide" do you mind if they knock on you door at a home and ask to just look around? Do you mind if they track your cars movement? You're not doing anything illegal, so no big deal if they know you went to the grocery store Thursday at 21:58. You're not conversing with enemies of the state or terrorists online right? So you wouldn't mind them knowing where you go online.
The list goes on and at some point you'll say "NO. I'm not doing that." This point is different for each person.
The next time you have an encounter with a LEO just give it try, assert your right to not by stopped and identified (excluding driving) if you don't like it or you dont like how pissed the officer gets, no big deal you can quickly on the spot give up your right and hand over ID.
For me, I just want to be left alone, so when an officer or deputy wrongly applies PC 148.9 saying "You have to by California law carry ID and present it to an officer upon request" I think in the back of my head "No. you're pissed that you cant arrest me solely on the fact that I'm armed in public so you want to A: keep me here as long as you like because I'll want the ID you have pinned between your shirt pocket and fancy handcuff key back, and B: you want to run me for warrants in hopes that you can arrest me for something today to assert you "authority". But then I say aloud "I believe you're wrong and I refuse to give you ID, IF you had reasonable suspicion or proof that I've committed a crime you wouldn't be asking, you'd have me handcuffed, taking to the station and then ID'd" Followed by "Thanks for the talk officers, I'd like to go about my lawful business now. Am I free to go.?"
{ I just read over my post for spelling and if there is any angst, it's not directed at you
}