Robust cell identity specifications through transitions in the collective state of growing developmental systems