Elucidation of the ion binding mechanism in heterogeneous carbon-composite adsorbents