Rather than hashing, trim IDs before converting them for display.