To rename your pet, go to your Closet. You'll find the naming option right below the image of your virtual character.