This is for a different thread but that just a lazy mix of different issues born of the loony right disaster merchants on the American far right.
I think its you who are being lazy on this.
Rights based on identity were the norm in Europe for centuries. Some people could access the Kings justice, others only manorial justice. there were laws governing jews, women, various trades, people who had the right to live in towns, people who didn't etc.
The Enlightenment came along and Rousseau said "All men are created equal" this concept gradually gave us the frame work of rights that existed until recently.
In the 19th century it undermined slavery as all men clearly included men of colour. In the early 20th century it supported votes for women as "all men" was held to encompass women. More recently to supported gay rights as equality was held to encompass sexuality. This was a liberal project and it held sway across Europe and the US until very recently.
It was Martin Luther's ideal "my daughter judged not on the colour of her skin but on the content of her character".
Recently this has been abandoned, the question of achieving equal rights becoming less important than the question of equality of outcome.
The first place this occurred was in university admissions in the US. Admissions requirements were the same for all applicants, but black applicants were gaining less places. This was seen as unfair as black people were more likely to come from disadvantaged backgrounds as so could not compete fairly for college places.
The response to this perfectly reasonable point was a tragedy, rather than combat poverty for all or ensure equality of provision at second and primary level education quotas were introduced at third level. Martin Luthers grand daughter will be judged by the colour of her skin again.
This fuelled the equality of outcome idea and brings us back to identity politics. Law based on race, gender etc. and that is fine (well its not, but it may be seen as fine) while we live in a liberal society. But if the hard right ever get into power they will use the identity politics created by the left against those groups.
The clearest example of all is here in Ireland. We have recently given legal recognition to travellers as an ethnic group, we measure homelessness and live expectancy for travellers. Now I am opposed to that as I think housing policy should be about housing the homeless irrespective of identity.
But if the hard right ever get into power they will start measuring criminality for travellers as well as homelessness and that will be a dark day.