In his play The History Boys, Alan Bennett raised eyebrows with his sympathetic portrayal of Hector, the teacher forced to step down for fondling his teenage pupils.