Boyd, Hugh, 1746-1794