The hierarchical origins of observed galaxy morphology