ハチベエ is the nickname of 八谷良平(はちや りょうへい) on Zukkoke Sangumi, a popular franchise that started as youth literature. I don't know how うっかり entered the phrase...