Updated Item_Id and GetUniqueId functions