Merge "Use fallible allocation in UNIQUE_ID generation"