Samwell, David, 1751-1798