Save index name generation

Hello,

I regularly run into the problem that the auto-generation of index names generates names that are more than the allowed 128 chars long. I patched the generation function to respect this length.

Regards,
Manuel