Refs#4708 Create a short index name for cases where auto-generated index name is too long