Endogenous Reorganization: Status, Productivity and Meritocratic Dynamics