Fix to_param when attribute has multibyte character

When attribute has only multibyte character, to_param returns id + "-". I think it is not pretty.