Name action items; allow removing them by name

Ref #760

Name first parameter to action items.
It is still optional in the DSL, but triggers a deprecation warning when not provided.