Detect invalid property names.