Modified acid-base behaviour of resin-bound pH indicators