it was a song called `` jamie telfer of the fair dodhead '' -one of the ancient reiving ballads that went on for dozens of verses , and had dozens of regional variations , all involving the attempts of telfer , a borderer , to revenge an attack upon his home by calling upon the help of friends and kin .