Hyphenate slots name.

As discussed on IRC.

**EDIT:** to clarify, this is to make it easier to generate the setter/getter name when you only have the struct name, e.g. inside a macro.