Differentiation in the primary school: a study of primary school policies on pupil allocation