Raise an error when index name isn't a string
Merge pull request #84 from Thibaut/index_name

Raise an error when index name isn't a string