Anderson, James, -1728, Scottish genealogist and antiquary