I wore bars when I was a ppl...I'd put them on going into places like Livingstone and Maputo just after landing, to get through the fuel stop and back into my plane without being harassed. I flew into some little place in Tanzania recently wearing jeans, and was told that I couldn't be the pilot, they tried to not let me back to my plane.
Might be worse for us female pilots though. A lot of the security grunts can't concieve a chick being a pilot, and instead would rather show off their power.