How did apartheid entrench ideas of race?