def book_name(bible_data, book_n, abbreviated=False, single_psalm=False):
    """ Return full or abbreviated book name. """
    if abbreviated:
        return bible_data.book_names[book_n][2]
    else:
        if single_psalm:
            return "Psalm"
        else:
            return bible_data.book_names[book_n][1]