fix extract_item_id for entities
Merge pull request #3 from sebastiaandegeus/master

Fix for item_id extraction for entities