Adding metadata to sections

It appears from other discussion threads on this forum that this might not be possible, though this post has a workaround: http://discuss.gohugo.io/t/how-to-name-list-templates/949/15

I will attempt this, but if anyone could point me to something more elegant, I will be keen to learn about it. Thanks!