Mapping item to id