Mess John

Mess John is the old epithet in Scottish ballad poetry for a priest, derived from the celebration of the mass, so that "Mess John" signified in irreverent phrase, John who celebrated the mass. The English have a kindred phrase, "Jack Priest". 
"Mess John" is the title of a poem by James Hogg (Poems of the Ettrick Shepherd)