Green’s Dictionary of Slang

whobeganit n.

[the (parental) question ‘Who began it?’]

In phrases

give someone whobegan it (v.)

to punish, to discipline.

M. Keane Good Behaviour 117: Tell Tommy to nip up on this bastard [i.e. a runaway horse] and give him whobeganit.