Countries with an English legal origin have been slower to adopt bans on corporal punishment in schools than countries with other backgrounds.