I agree with Phil. If I was an airline pilot, I want to reinforce my authority and role upon the passengers. I want to show them I am confident in my role as a pilot and that I have self - reassurance. It is true that sloppy pilots may be more likely to be discriminated and bullied by passengers, which may lead to a decreased performance of the pilot output in flight. As a pilot, you need to be confident in your abilities to fly, and by complying to dress standards mean that you take those roles seriously.
By displacing gender roles, I did not mean that women should be men. I am stating aviation should be gender neutral instead of it being emphasized heavily as a masculine career and for female pilots to flaunt their feminine attributes to compensate for the lack of femininity.