Hmmm . . . this all sounds suspiciously like "From each according to his ability, to each according to his need(s)" (or "Jeder nach seinen Fähigkeiten, jedem nach seinen Bedürfnissen" in the original German).
I believe that this experiment was tried somewhere in Eastern Europe - didn't work out, as I recall.