Create a new DOFObjectID from the contents of the specified DOFValue. 
- Resource Management:
 - This function allocates resources that must later be freed by calling DOFObjectID_Destroy.
 
- Parameters
 - 
  
    | self | The DOFValue to be extracted. This must represent a single value of type DOFObjectID, and must not be NULL. | 
  
   
- Returns
 - The new DOFObjectID from the contents of self.
 
- Exceptions
 - 
  
    | NULL | is returned if the resulting DOFObjectID could not be created, or an invalid parameter was detected.  |