Support non-numeric foreign keys

This only adds support in lists.  The forms and detail views seem to work.