Shaw, James, Sir, 1764-1843