Added `getItem`

`getItem` retrieves an item using provided `ItemId`. That function might
be useful to fetch an item when its type is not known beforehand.