The "Pupil" Factory: Specialization and the Production of Human Capital in Schools