If you haven't seen this, watch and ponder.
Autonomy, Mastery and Purpose
Of course, I would add a fourth element: Affiliation.
People will work harder, invent more and stay put longer when they are proud of those with whom they are affiliated.
At least that is my theory and I am sticking to it.