Walter Macfarlan of Macfarlan (d.1767), Antiquary ก่อน ต่อไป