Seol mar théacs é seo: Ancient and mediaeval grammatical theory in Europe, with particular reference to modern linguistic doctrines