"7812" is probably a bad example, there. OK, the "78" bit is fairly random-ish (except maybe in its complementary association with "79" for the negative regulators), but the "12" refers to the voltage, as in 7805 and 7815.
That sort of association can't be found for your other two examples.
__________________
"Love justice, you who rule the world" - Dante Alighieri