Write more efficient Ord instance for Identifier