* @throws NotAGroupObject if ref is not a group reference
*/
public byte[] create_id_for_reference (org.omg.CORBA.Object ref) throws NotAGroupObject
{
MIOPProfile profile = getMIOPProfile (ref);
// This method in POA is private, we must change
byte[] oid = generateObjectId ();
addGroupMember (profile, oid);