#24 revision of domain checking in data objects
Draft solution for #24 (closed).
Further to consider: move the domain checking mechanisms to a domain.setter - at the moment data objects can be initialized without domain specified (useful for performance attributes). If this domain is set later to an existing instance, it won't get checked.
Edited by Alessandro Maissen