Quantification of the Ionic Character of Multiconfigurational Wave Functions: The Qat Diagnostic