I think this can be done with something like:

`<dd class="@fieldConfiguration.FieldContainerClasses">` - if it's null razor is clever enough to exclude the class attribute. This also means you are now protected from any unescaped characters in the FieldContainerClasses variable. Give it a go though, because it's possible it won't work out the way I think.