The example is pseudo-code and assumes a future with smart-property domain registrars. A better example might have been a smart contract trust which is 100% doable today.
There are other examples under the Samples menu at etherscripter.com. Also see ethereum.org.