The models are pretty simple - they are called supply and demand. They work for everything else in economics. Low pay for dangerous work is not so exceptional situation.
In poorer countries, there is even less pay for even more dangerous work, because education is even worse there. There's a few data points there.
And there's quite a lot of literature on the education system and teacher unions. To start off with their's Waiting For Superman (2010).
As for the attempt to derail over "politeness concerns" because I used the word rant - I won't bite.
By the way, very few of your comments have data backing them up, and often are just simple 'models' with some variables you wrote down mixed in with rudeness to other commenters.
I am merely requesting more information on your claims.
The model you are proposing has great post-hoc explanatory powers within the united states - however it does not appear to have predictive powers over what we will find in other places and times. Therefore I question it's validity, until you can show how the same model applies to other situations, and can show exigent factors that are relevant when it doesn't apply. Again, this is not rage - this is merely not accepting an insufficiently explained model at face value.
FWIW (not that it matters): I am a software engineer/programmer, my parents are in sales and HR, my other family members are not in education either. I just think overly simple explanations should always be questioned.
As for the salary of a government worker - that depends on the job they do, the value they create etc. I don't know the details to make blanket statements. I think there is a tradeoff - good people doing the job requires competitive salary, paying bad salaries is generally more expensive as it requires more workers to do the same job.