Simplify the 'operator<' for the attribute object.