refs #28: implement the DomainObject.build method