...
Because of the opaque and random nature of OSID Ids, they are not optimal for use as a database primary key. Where it is expected to construct relationships, use a more efficient integer-based identifier as a primary key, and store the OSID Id in a separate indexed column.
Preserving Compatibility
The Federating Problem
Where To Solve The Problem
...