Scottish lexicographer and chief editor of first edition of the Oxford English Dictionary