Add and use a GetMandatoryPIDWithDataMixin mixin

Ensure you merge RenZO's pull #368 first.