Sets the identifier for the item.
The identifier should generally be global to the session as it would not be expected to come across multiple items with the same id.
a SessionItem
an optional identifier for the item