Define a clear and robust strategy for generating and managing unique IDs for Pet and PetOwner entities.
Ensure IDs are collision-resistant, non-guessable where security is a concern, and consistently applied across all contract functions.
Consider using hashes or sequential counters managed securely.