I've not seen a post YET on this, so I decided to make my own.
Race IDs
Human = 1
Dwarf = 3
Gnome = 7
Night Elf = 4
Draenei = 11
Orc = 2
Undead = 5
Troll = 8
Tauren = 6
Blood Elf = 10
Class IDs:
Warrior = 1
Paladin = 2
Mage = 8
Hunter = 3
Rogue = 4
Priest = 5
Shaman = 7
Warlock = 9
Druid = 11
Gender:
Male = 0
Female = 1
If any of these IDs are wrong please post a fixed version below ;D