SgEntityField fixed bug pointing to undefined variable

- The last commit for SgEntityField changed a variable name and left
  a pointer to the old name still around.