baking to multiple objects at once with multiple materials
Use the 'Texture Atlas' addon. It comes with Blender 2.7 or higher and can be enabled in the preference panel.

Once enabled, you can access it from the Render Panel: