Enhances base classes Entity and IdentifiedDomainObject. Adds a bit of documentation.