Sonar tweak

Put getPeripheralType into SonarSensor. It probably got clobbered in the
merge. That doesn't bode well for GitHub's merge conflict resolution...