Refactoring AssignSymbol