Macpherson, David, 1746-1816