Photocatalytic remediation of ionic pollutant