protected function debugGetRelatedName($e, EntityFace $face)
    {

        $names=[];

        foreach ($face->getElements() as $elm) {
            if (StringUtils::beginsWith($e, $elm->getName())) {
                $names[] = $elm->getName();
            }else if (StringUtils::endsWith($e,$elm->getName())){
                $names[] = $elm->getName();
            }

            // TODO more global matches
        }

        return $names;
    }