[ issue1228 ] more principled checking of name kinds when unquoting