resolve
Resolves this activity into a proper Directive object.
Users likely don't need to use this function; it is more for implementations of EditablePlan.
Parameters
id
The id for the new directive.
parent
The activity this activity is anchored to, if applicable.