Ramsey, W. B. A. (William Baine Alexander), 1799-1874