Thanks, Malcolm and Masato. Conclusion: Hamish is right in his claim that an ancestor wrote lyrics to the tune - but not the ones he sings! I've yet to check Hamish's other (earlier) recording I have. If that is closer to John Imlah's text I'll report back here.