Hash improvements and fixes

* Make hashes take a DSL compiler option.
* Allow getting the hash ‘keys’ using the ‘attributes’ method also (i.e., alias)