protected function resolveTableNameAndUidFromContextString(string $contextRecord)
    {
        if ($contextRecord === 'currentPage') {
            $tableNameAndUid = ['pages', $this->renderingContext->getFrontendController()->id];
        } else {
            $tableNameAndUid = explode(':', $contextRecord);
            if (count($tableNameAndUid) !== 2 || empty($tableNameAndUid[0]) || empty($tableNameAndUid[1]) || !MathUtility::canBeInterpretedAsInteger($tableNameAndUid[1])) {
                $tableNameAndUid = ['pages', $this->renderingContext->getFrontendController()->id];
            }
        }
        // TODO: maybe check if the record is available
        return $tableNameAndUid;
    }