Populate entity IDs from items.
Lock access to the item collection.
Exbed metadata refresh into a new private method.
Add some documentation comments.
Add unique identifier index and query by identifier.
Query the metadata service for results.