Sentence:  when it was time for the Strachan bairns to pass the end of the Cuddiestoun road on their way to school down there she was waiting and gave the paper to the eldest, the quean Marget, and told her to show it to the <WSD>Dominie</WSD> and ask him what it might mean. 
Meaning of the word marked with <WSD> tags:  A schoolmaster, teacher.