Choosing in schools: locating the benefits of specialisation