Lowercase and trim index name