code: function isNameChar(c) {
  	return ('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z') || ('0' <= c && c <= '9') ||
  		c === '_' || c === '$' || c === '.' || c === '-';
  }
docs: check if a string is a Mark identifier, exported for convenience