def METHOD_NAME(file_, start_index, node_type, separator="\t"):
    """Mapp the ID and name of nodes to index.
    """
    node_types = []
    id2index = {}
    name2index = {}
    index = start_index
    with open(file_, encoding="ISO-8859-1") as reader:
        for line in reader:
            tokens = line.strip().split(separator)
            id2index[tokens[0]] = str(index)
            if len(tokens) == 2:
                name2index[tokens[1]] = str(index)
            node_types.append((str(index), node_type))
            index += 1
    return id2index, name2index, node_types