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`
The last item has a trailing comma - the JSON is malformed.