It's important not to make assumptions or judgments based on appearances. If you accidentally misidentify someone, simply be polite and respectful, as you would with anyone else. Apologize if necessary and move forward with kindness.