fix bug in ranked_word_set + minor style edits

for enum columns, an id/key must be provided:
fixed the view widget with an id instead of null