[objcmt] Use FileIDs directly instead of their hash value.

No functionality change.