Get namespace name from index, to return it with correct casing