I've been pulled over heaps of times on the bike for 'random licence checks'. It's no big deal, but it's truly surprising the number of people that ride without having their licence on them.
Probably the oddest occasion was a couple of years ago at Cowes, Phillip Island, during one of the practice days for World Superbikes. I got pulled over on the main drag into town, ostensibly for a random licence and registration check, but in reality because the cop wanted to check out my bike - yes, he told me quite openly.
We had a lovely chat on the side of the road, meanwhile several hundred riders went past, each looking over and giving me a surrepticious 'everything OK?' signal, and me nodding back at them. It's rather touching how the motorcycling community looks out for each other.