Symbolize attachment styles keys on controller

[Fixes #3069]

This is also broken in 2-0-stable so please merge it there too in case it sounds right.

@sfielder could you apply this patch and confirm that it fixes your issue?