• params: item_id (string), min_id (int), max_id (int)
  • return: item_dictionary_id (int) or nil if no free ids in the range.