Adding globally unique ID to the item variables.

Fixes #1