you know... surprisingly, this would have been a great topic for the debate forum.
But I think it is unclear whether Bingo is the farmer or the dog. But it is most likely the dog based on the grammar.
yeah, it's perfect sense that both the dog and the farmer are named Bingo.
honestly, what are the odds? Besides the song says "Bingo was HIS name-o" not THEIR name-o.