Compare variable names by its symbol