In the 'Burl Ives Songbook' it's called "Lolly To Dum". It probably comes from a broadside. C. M. Simpson in 'The British Broadside Ballad and Its Music' quotes a verse of a 19th century broadside balad "The Fit Comes On Me Now" as :It was on a Easter Monday, in the spring time of the year,
A mother and her daughter, as you shall quickly hear,
Jane said as they were walking, I'll tell you what I'll do,
I must and will get married the fit comes on me now.
I don't have any more of it, and its probably much older, because a broadisde ballad of 1665 called for the tune "The Fit's come on me now". The 17th century tune is B140 on my website.