Dynamically creating classes

when I open a new level, I want to load in the level parameters

most will be defined in a base class and will be the same across 10000 classes,

the parameters that are different, I want to be able to override in the child classes.

So I need to be able to dynamically create the object based on a level number integer.