def METHOD_NAME(self, node):
    try:
        constructor = getattr(node, 'id', 'object')
        if constructor is not None:
            constructor = getattr(self, 'construct_%s' % constructor)
    except AttributeError:
        constructor = self.construct_object
    value = constructor(node)
    return wrap_var(value)