Name anonymous property functions

When instrumenting code, use the property name instead of ‘anonymous<num>’.

```js
{
  foo: function() {
    // If anonymous, this function will be named ‘foo’.
  }
}
```