store component id's properly in serialization

next up, we'll need to find a syncable id