code: public Agent newAgent(QualifiedName id, Collection<Attribute> attributes) {
  	Agent res = newAgent(id);
  	setAttributes(res, attributes);
  	return res;
      }
docs: Creates a new {@link Agent} with provided identifier and attributes
  @param id a {@link QualifiedName} for the agent
  @param attributes a collection of {@link Attribute} for the agent
  @return an object of type {@link Agent}