Fix for test_dot_locale_error regression. [trivial]

The error detection code in functionResolution.cpp is matching against
PRIM_WIDE_GET_LOCALE, not PRIM_WIDE_GET_NODE.  So conversion of 
chpl_localeID_to_locale(_get_locale_id(x)).id to _get_node_id(x) causes
the error check to be skipped.  We really mean _get_locale_id(x) anyway, so
the regression was caused by what is essentially a type-o (pardon the pun).
The type of .locale.id is now chpl_localeID_t, not chpl_nodeID_t.

git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@21794 3a8e244f-b0f2-452b-bcba-4c88e055c3ca