IMO, using a parameter might be the best way (it would be perfect for FOSUserBundle as we already store it in a parameter anyway).

And the parameter used by default should be the param defining the default manager in Doctrine*Bundle (as it may not be named ``default``)