def MakeListItems(items):
    """
    Turns a list into listItems used by form fields. Each item in the list is
    converted into a dict. e.g. ``("a","b","c")`` or ``(("a","Name a"),("b","Name b"),("c","Name c"))``

    :param items: list of items
    :return: listItems
    """
    li = []
    for i in items:
        if isinstance(i, str):
            li.append(dict(id=i, name=i))
        elif isinstance(i, (list, tuple)):
            li.append(dict(id=i[0], name=i[1]))
        else:
            i = str(i)
            li.append(dict(id=i, name=i))
    return li
