Fix handling decorator with no name

The following currently crashes pylint-django, because the Astroid CallFunc representing the decorator node has no name attribute:

```
from django.db import models

def foo(*args):
    def bar(model):
        return model

@foo('does not matter')
class TestModel(models.Model):
    pass
```

This pull request fixes that.