code: public String getHostBasename() throws URIException {
          // caching eliminated because this is rarely used
          // (only benefits legacy DomainScope, which should
          // be retired). Saves 4-byte object pointer in UURI
          // instances.
          return (this.getReferencedHost() == null) 
              ? null 
              : TextUtils.replaceFirst(MASSAGEHOST_PATTERN, 
                      this.getReferencedHost(), UsableURIFactory.EMPTY_STRING);
      }
docs: Strips www variants from the host.
  
  Strips www[0-9]*\. from the host.  If calling getHostBaseName becomes a
  performance issue we should consider adding the hostBasename member that
  is set on initialization.
  
  @return Host's basename.
  @throws URIException