get record id