consent: Make getTargetedID() static.
consent: Make getTargetedID() static.

This function is called statically several places, so let us make it
static to avoid the warnings.

rchavik/simplesamlphp,rchavik/simplesamlphp,rchavik/simplesamlphp,rchavik/simplesamlphp