Mapping Ion-Induced Mesophasic Transformation in Lyotropic In Situ Gelling System and its Correlation with Pharmaceutical Performance