Schoolchildren who keep the same best mate as they move to secondary are found to get better results.