Refactor id generation of the cache.

The id is now generated within the percolator.

Signed-off-by: François de Metz <francois@stormz.me>
Merge pull request #5 from francois2metz/item_id

Refactor id generation of the cache.