What were races considered to be, according to the ideology of race?