add AgentId toString/equals/hashcode