Title: Fragments of the early history of Tain from its origin to the middle of the sixteenth century