The substances NaCl, Na₂CO₃, MgSO₄, and NH₄Cl, which are used for test solutions, are all soluble ionic compounds. For each substance, indicate the ioms present in its respective test solution.