No, religion, yes.
I can separate racists, sexists and other bad traits without politics being involved, if you think being left or right clearly marks you as a racists or whatever then you are very wrong, some traits cross political divides. I have friends who are inherently right wing but view trident as immoral and left leaning friends who worry about immigration, its a recent phenomenon where people seem to want to label people instead of debate, something we saw in huge evidence recently with Brexit and regrettably here a lot.
However, with politics there is at lest some core beliefs based on real things, such as living conditions, the belief that it benefits other through act or facilitation, local government etc, with religion its pure hokum.