Research and practice in librarianship: a cognitive view