Ion-selective electrode methodology