Use the FarLook command (;) on your pet, or a Stethescope or Wand of Probing. It will say [petname] the [species].