[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
btw .. it would feel less scary with closures even .. not ideal still but maybe a quick way to improve things.