forget oneself
verb
-
to lose one's dignity, temper, or self-control.
-
To become unmindful of one's own personality; to be lost in thought.
get up to mischief
How often have the words forget oneself and get up to mischief occurred in a corpus of books? (source: Google Ngram Viewer )