Cast tag value to ABRecordID type to fix compilation warning