Added ul class naming functionality into indexer