Fixed shift_scope for components with no id by adding a list of instances in every scope; removed useless #top