Add support for fields from objects passed as function parameter

https://developer.mozilla.org/en-US/docs/Web/JavaScript/New_in_JavaScript/1.7#Pulling_fields_from_objects_passed_as_function_parameter

```function getIdField({foo: bar, foo2: bar2}) {}```
```function getIdField([a, b, c]) {}```