Dividing lines in unstable theories and subclasses of Baire 1 functions