There is a lot of information on this song/s in William Stenhouse's Illustrations to the JSMM, page 414. Another quote by Burns in the Reliques " ..... one of these old songs ... in these four lines ....
"Where hae ye been a' the day, Bonnie laddie Highland laddie, Down the back o' Bell's brae, Courtin' Maggie, courtin' Maggie