Dominic didn't write the song. He wrote many fine songs but not this one. As there was no generally accepted author then, Dominic claimed it as he did with many 'trad' songs, a common practice. Barney McKenna once said that Dominic would copyright the bible!