Well, I don't know about 4th but in 3.5 it was always maximum on the HD (so 4 for wizards/sorcerers, 8 or 6 for clerics and the like, 10 for fighters and (I think) paladins and 12 for barbarians. To be honest I don't really remember) + the charisma bonus. Piece of piss.