Add BaseAssignmentOrOutputNode
Backwards incompatible: pass ``context`` value to ``get_value()``.

This is needed for implementations where ``get_value()`` can take
defaults from the existing context data.