Replace identifier hash indexes with integers