Compositional history of Pāṇini’s kāraka theory