Fixing nested object patterns and allowing use of generated ids from patterns.
V0.5.1