For something future proof and automated you could create a store item that is stored in the players bank, maybe have it keep track of the currently owned pets, so if a pet disappears that can be used as a reference point. All stats and anything important could be easily noted.