Discussions of educational inequality usually focus on family income, school quality and neighbourhoods.