The acquisition of functional categories