I am usually using a context_property in behavior together with an optional default value
context_property
Plone Foundation Code of Conduct