code: @Override
  	public String getNamingContextId() {
  		boolean append = isAppendID();
  
  		if (!append) {
  			// Check if this is the top level name context
  			NamingContextable top = WebUtilities.getParentNamingContext(this);
  			if (top != null) {
  				// Not top context, so always append
  				append = true;
  			}
  		}
  
  		if (append) {
  			return getId();
  		} else {
  			return "";
  		}
  	}
docs: {@inheritDoc}