If WPSC_Claimed_Stock::submit_claimed_stock() arg is a WPSC_Purchase_Log object, convert to ID.