Yes, it is. I'm not recommending it but the cognitive bases are the same. Labels help us makes sense of a complicated world by simplifying it into easier to grasp generalities. It's the basis of stereotypes and tribalism. Whether we like this or not is beside the point. It's how the human mind works. We use labels in order to keep from being overwhelmed by complexity.