Generally (I can't vow, that no special other cases exist), only items that exist as objects in the world have reference ID's. Once you pick it up, it becomes a quantity number (of the base item in question) in your inventory. Once you drop it into the world, it is given a fresh new reference ID.
So, with generic items, you probably have to play with inventory quantity numbers. If the item in question is unique, perhaps you could have a specific script attached to it, doing whatever you think is appropriate. You might also be able to use a quest item flag to your benefit, but I am not really sure how that would work in practice.