Fascinating thread! Thanks to all for contributing.
By way of digression, I learned this song as a transplanted Irish child five or so decades ago. Years later, I taught it to my own children, who took to it with glee. When they sang it for their pals in the schoolyard, the teachers immediately banned the singing of it and sent a stiff message home about teaching "inappropriate" songs to my kids...