Maintaining the identity of dynamically embodied agents