Seems like a lot of detail. Are you sure it's going to come up? Otherwise I'd avoid getting that far into the weeds.
If you are in a game where that matters, your options are to have a different specialty for every sentient race, or to put them together.
Like.. if you are in a game where Dwarves, Goblins, Gnomes and Halflings all share a recent common ancestor then you could have "Small Folk" as a specaility, or pair Humans, Orcs, Ogres, and Beastfolk into "Savage Folk", while Light, Dark, Fallen and Flying Elves are "High Folk".
This classification system might be named by elves.