How you self-identify dictates how you interpret the actions and behaviour of others towards you.
For example, you may an idiot and a Muslim, but if you self-identify more as a Muslim, than as an idiot, you might naturally assume that other people are interacting with you on the basis of that identity.
However, they might just as well believe that your idiocy is your dominant character trait and may in fact be exhibiting idiophobia towards you.
Therefore if you’re a bit of an idiot, you may find that your encounter with anti-idiot hatred is in fact completely justified.
Note that having a beard, wearing a headscarf or believing your Muslimness to be self-evident, does not render idiocy benign. So try not to be an idiot.