Adding assignField logic
Updating field assignment query to include name