I wouldn't even say it was a class thing. I know plenty of respectful/hardworking people of various ethnic backgrounds in upper, middle, working, and poor economic classes. I would call it a social values/respect for society/up-bringing thing. Not sure there is a proper word for that.
Tact