Added convenience method to Component to avoid calls to get_entity().

The new convenience method on the Component are:
1) switch_to_*component*, which switches to another sibling component
2) get_config_id() which return the EntityConfigID.