Identifying Like Terms in Linear Expressions