def get_item(dictionary, key_id):
    """Returns value in dictionary from the key_id.
       Used when you want to get a value from a dictionary key using a variable
       :param dictionary: dict
       :param key_id: string
       :return: value in the dictionary[key_id]
       How to use:
       {{ mydict|get_item:item.NAME }}
    """
    return dictionary.get(key_id)