@staticmethod
def get_es_id(page):
    """
        An ID built with the node path and the position of this organization in the taxonomy:
            - P: parent, the organization has children
            - L: leaf, the organization has no children

        For example: a parent organization `P_00010002` and its child `L_000100020001`.
        """
    return '{type:s}-{path:s}'.format(type='L' if page.node.is_leaf() else
        'P', path=page.node.path)
