Add uid to state and use it to set id and rename PlacedComponent -> Component