def get_node_id_label(node, id_type):
    """return an identifier str for the node """
    if id_type == 'pk':
        return node.pk
    if id_type == 'uuid':
        return node.uuid.split('-')[0]
    if id_type == 'label':
        return node.label
    raise ValueError(f'node_id_type not recognised: {id_type}')