[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
Instead of adding this code here, maybe we could move it into `ResourceResolver`?