getting dynamically generated IDs for each item in the store