Refactoring of layer properties

This PR addresses the refactorings mentioned in #667.

- Refactoring of bodId and label properties (to use access descriptors)
- Centralize often used filter functions
- Add additional layer property 'highlight' to describe highlighting layers

As this touches central parts, can use good testing. (I did test heavily on my side)