Refactor userfields.

userfield.id is no more a string, it is an object, containing various keys:
path, label, and possibly more.