William Smith Shaw — lawyer, librarian