Orthogonal to any argument about conciousness in cats, the most probable explanation is your cat was aware of your scent freshly attached to a book that previously didn't carry it.
In my experience cats are acutely aware of scents, particularly known and especially unknown scents in new places.
Had you been an unknown cat the chances are extremely high your cat would have urinated on your book.