[TASK] Refactor reading of pid in AbstractContentViewHelper

Method has been created to make a uniform way of getting the currently configured or auto-detected PID value to use when reading content records.