Until we provide more documentation please refer to a builtin mode with similar language characteristics to choose the right scope for your states and keywords.
You can also have a look at:
- Scopes Documentation (preliminary!)
- Style Sheet Format
The scopes of a mode are defined in the SyntaxDefinition.xml.