'Prints ID & names of items in a parseable format'

def print_by_ids_parse(self, items, title=None, line_before=False):

    if (not items):
        return
    if title:
        print (title + '='),
    values = []
    for item in items:
        values += [('%s=%s' % (KEYS_TO_NAMES_EN[key], self.__conv_value(key, _get_item_key(item, key)))) for key in ['id', 'name'] if (self.__conv_value(key, _get_item_key(item, key)) != '')]
    print self.parse_delim.join(values)
