Where possible, share the engine Coding Conventions.
Use only alphanumerics (A..Z, a..z, 0-9) and underscores (_) for object names and parameters. Various special characters are reserved for use as delimiters and markers (particularly semicolons).
Technically, the hyphen or dash (-) can be used interchangeably with hyphens, but you'll need to reference the string in a different way. For example:
is exactly equivalent to
For XML names, use all title-casing. (Eg: MyExampleName?)
Example of conventional scripted casing:
<object name="ExampleObject" style="ModernStyle"> <action on="Press"> guiHide(this.name); </action> </object>
<object name="ExampleObject" style="ModernStyle"> <action on="Press"><![CDATA[ guiHide(this.name); ]]></action> </object>