I think identity is a thing of the past. I'm more interested in who (not what) a person is. But many people cling to and find illusionary security in some imagined national, religious, racial, class, caste or neighborhood belonging.
We only belong to ourselves. Anything else is from the devil used for exploitation by unethical personalities.
It's only individual identity that matters and that one is particularly hard to define. Maybe that's why many people prefer to adopt a ready made prefabricated one.
Still it can be impossibly difficult to try to understand the world in its complexity and sophistication all by oneself. We need to believe in something, take some knowledge for granted unable to check it ourselves and that's when group knowledge seems reasonably believable and one is prepared to accept the opinion of priests, scientists, politicians or even soothsayers.
Nevertheless I believe sticking to imagined national, religious, or professional identity robs a person from the opportunity to form an independent, objective and balanced opinion that has more chance to be true. Ignoring truth is not only an unwise choice but outright dangerous for the perpetrators and their environment so that's one liberty that we cannot afford. Striving to assert one's individuality is a right and responsibility to oneself and those around.