I know food isn't allowed in libraries, but this is different. These would be little chips that could be implanted in the spine of a book. If the book went missing then it could be tracked down.
The chips would have to be hidden pretty well so that no one could remove them.
Discussion
Related Ideas