In three project I'm working on right now, two identify objects by content HMAC (one of them uses an SQL database), the other uses a mix of incrementing integers and a random string for different use cases.
If those two are using SHA-1, like git, you are still using a standard. The third one however sounds like a potential mess.