Allan, William,Sir,1782-1850.