History, sociology and education