Cunnynghame, Ninian, Writer to the Signet; of Edinburgh