As far as I can tell, this is by the famous poet Anonymous; I know it as a nonsense rhyme my mother told me when I was very young.