code: protected final String getFacetName(FaceletContext ctx, UIComponent parent)
      {
          // TODO: REFACTOR - "facelets.FACET_NAME" should be a constant somewhere, used to be in FacetHandler
          //                  from real Facelets
          return (String) parent.getAttributes().get("facelets.FACET_NAME");
      }
docs: Return the Facet name we are scoped in, otherwise null
  
  @param ctx
  @return