code: public Agent newAgent(QualifiedName ag) {
  	Agent res = of.createAgent();
  	res.setId(ag);
  	return res;
      }
docs: Creates a new {@link Agent} with provided identifier
  @param ag a {@link QualifiedName} for the agent
  @return an object of type {@link Agent}