def METHOD_NAME(self) -> str:
    config = EherkenningConfiguration.get_solo()
    indices = {
        "eherkenning": config.eh_attribute_consuming_service_index,
        "eidas": config.eidas_attribute_consuming_service_index,
    }
    return indices[self.identifier]