There's no difference. A subclass is still a class, it's just "equipped in a different slot," if you will. As you saw above, class levels are stored by ID, there's no differentiation between class and subclass.
Can't tell you what's wrong without you showing your work.
I have called the subclass level of a given party member (in this case, the one in the first slot) using the script:
$gameParty.members()[0].classLevel($gameParty.members()[0]._subclassId)
The above code is also the full version of the line is highlighted in my below image.
I can also compare the amount of battles won (another stored variable) against an array of "thresholds" for leveling up the subclass, but my confusion about leveling a "subclass" comes from the fact that the RPGMaker MV script call for changing level doesn't hinge on ID or have a place for it in the function.
Essentially, I am unsure of how to change the level of a ClassChangeCore class as opposed to changing the level of an actor.
Other extremely likely problems with this code aside, it is working currently in the ways I need it to, minus the capability to increase the subclass's level because I'm just unclear on the syntax for changing the level rather than just checking it. Variable 58 is just a number i'm using to store the reference to the current actor in the loop.