It is not perfectly acceptable to make broad-based assumptions about people because of their race, or ethnic heritage. That is precisely what Donald Trump does all the time.
The most glaring example of that, would be Trump's 2016 attacks on Judge Gonzalo Curiel, who presided over the Trump University fraud case. Just because Judge Curiel is of Mexican heritage (
although, he was born and raised in east St. Louis), Trump described him as a Mexican, who could not be impartial in the case against him, because Trump was "
building a wall."
That is a classic case of identity politics for you. Donald Trump assumed Gonzalo Curiel would be biased against him, based on his ethnicity... rather than Judge Curiel's track record as a judge.
Please see the links below :
Trump and the Truth: The “Mexican” Judge
Trump Presses Case That 'Mexican' Judge Curiel Is Biased Against Him