Just like painful forms of corporal punishment, it has parallels in educational and other rather private punishments (but with some audience), in school or domestic disciplinary context, and as a rite of passage.