Display warning when multiple components have the same name.

This fixes #7 
cc: @gpleiss