Elucidating the mechanism underlying how newly synthesized proteins are sorted into the correct protein biogenesis pathway at the ribosome.