John Ogilvie, 1724-1774