Validate a single property (member) name. Allows string-shaped names
(including dotted or hyphenated keys the host surface may expose) but
rejects empty names — empty member names produce invalid JSPropertySpec
entries that crash JS_InitClass at runtime.