[FEATURE] Add a hook to pre-process TSFE determineId()