added component ids

A quick hack to make this work with multiple components using same named state variables. There's also a new variable called ```saveStates``` where you can store an array of state variable names you want to save.

```
...
getInitialState: function(){
   return {elems: 0, items: {}, }
},
saveStates: ['elems'],
addE: function(){
...
})
```