function resolveNodeValue(node) {
    if (node.type === 'Identifier') {
      return variableUtil.findVariableByName(context, node, node.name);
    }
    if (
      astUtil.isCallExpression(node)
      && propWrapperUtil.isPropWrapperFunction(context, node.callee.name)
      && node.arguments && node.arguments[0]
    ) {
      return resolveNodeValue(node.arguments[0]);
    }
    return node;
  }
Try to resolve the node passed in to a variable in the current scope. If the node passed in is not
an Identifier, then the node is simply returned.
@param   {ASTNode} node The node to resolve.
@returns {ASTNode|null} Return null if the value could not be resolved, ASTNode otherwise.