protected function assignIdsFromUri($entries) {
        foreach ($entries as &$entry) {
            $entry['id'] = (int) preg_replace('#.*?(\d+)$#', '$1', $entry['uri']);
        }

        return $entries;
    }