Physical cues can also play an important role.
If you see a woman dressed in a professional-looking suit, you might immediately assume that she works in a formal setting, perhaps at a law firm or bank.
Salience of the information we perceive is also important. Generally, we tend to focus on the most obvious points rather than noting background information.
If you see a woman dressed in a tailored suit and her hair styled in a bright pink Mohawk, you are likely to pay more attention to her unusual hairstyle than her sensible business attire.