Updated bookshelves factory for name sequencing