I had long known it as a Burns song, but comparing the versions I did wonder if this was one of many songs Burns collected and rewrote. That does seem to be the opinion of others: https://mainlynorfolk.info/folk/songs/aywaukino.html