I had aperfectly clean record of never being selected for gate screening until I flew on a paper driver's license after moving to CA.
There was nothing random about my selection, the gate agent was just clearly confused about this and made no secret about my being sent for secondary screenign for this reason.
However, I did notice that the actual screening people seemed a little annoyed that I had been sent over for that reason. They asked me who sent me over.