Fix EZP-23364

`$this->rootLocationId` is not available here (see test failures), so it should be exposed in `UrlAliasGenerator` through a getter method.