Made more generic

```python
(Generated unique key %s) % local_id
```