Returns the item index for the specified item reference
Example:
itemIndex = GetItemIndexFromRef( <itemRef> )
* = mandatory