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