code: public Result<NsDAO.Data> validNSOfDomain(AuthzTrans trans, String id) {
  		// Take domain, reverse order, and check on NS
  		String ns;
  		if(id.indexOf('@')<0) { // it's already an ns, not an ID
  			ns = id;
  		} else {
  			ns = domain2ns(id);
  		}
  		if (ns.length() > 0) {
  			if(!trans.org().getDomain().equals(ns)) { 
  				Result<List<NsDAO.Data>> rlnsd = nsDAO.read(trans, ns);
  				if (rlnsd.isOKhasData()) {
  					return Result.ok(rlnsd.value.get(0));
  				}
  			}
  		}
  		return Result.err(Status.ERR_NsNotFound,
  				"A Namespace is not available for %s", id);
  	}
docs: Validate Namespace of ID@Domain
  
  Namespace is reverse order of Domain.
  
  i.e. myid1234@myapp.att.com results in domain of com.att.myapp
  
  @param trans
  @param id
  @return