add the transfer of agentID to the assignment operator and copy constructor, where appropriate