[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`
You have dropped the debug statement, is it intentional? The same question applies to the `Array.isArray` branch above.