[BUGFIX] Add fieldname to ForeignMatchFields

This change adds the missing fieldname to the foreignMatchFields
based on the field's name. Without this the fieldname in the sys_file_references stays NULL and is difficult to actually use.