emend_lvl_unique function

Get the unique levels of messy categorical data