return record id