[ResourceBundle] added an extension point for manipulating the ID

adjust show action to improve PHPCR support

attempt to fix
https://github.com/Sylius/Sylius/issues/2057
the `rootPath` is not set, I'm not sure I understand. Why do you add this method to the repository?