Keir, James, 1735-1820