fix memoizeDomainObject() by delegating to the correct method

fix for Issue #20