add id to component and use for registry lookup
fixed tests
Merge pull request #81 from twitter/id_for_component_lookup

add id to component and use for registry lookup