Default id to 0 (new books)