[WIP] Add unique id base methods

/to @bajtos 

This refactors all identifiers for workspace entities. It uses the `idName(model)` and provides the right value based on the configuration of the entity (in `models.json`). By default it will set

`idName =  componentName` + `name`

In `models.json` we can set an additional id part to create a more specific id when required. 

 `componentName` + `modelName` + `name`
Not sure how I missed this. I'll try and track down the double `rest`. The `name` of the component might be `rest.rest`.