Characterization and modelling of differential sensitivity of nanoribbon-based pH-sensors