Fix for histories and datasets with identical names

Access to histories and datasets with identical names previously failed with console logged error
messages. This allows for that duplication by appending the history id to the history name, e.g.:

- `Unnamed history-1cd8e2f6b131e891`
- `Unnamed history-ebfb8f50c6abde6d`

This can then be used to disambiguate between the two folders/files