protected function loadMetaModel($nameOrId)
    {
        if (is_numeric($nameOrId)) {
            // ID.
            $tableName = $this->getServiceContainer()->getFactory()->translateIdToMetaModelName($nameOrId);
        } elseif (is_string($nameOrId)) {
            // Name.
            $tableName = $nameOrId;
        }

        if (isset($tableName)) {
            return $this->getServiceContainer()->getFactory()->getMetaModel($tableName);
        }

        // Unknown.
        return null;
    }