Usually the driver who was involved in the accident may be required to provide details of their licence by either the police or the insurance company. So this sounds a bit dodgy. The only thing I can think of is the insurance company is trying to make sure all details provided on the insurance policy are correct before going ahead with the claim. In case they find the named driver did not have a licence, they could invalidate the claim and not pay out. However this is just my opinion, you are better off speaking to your friend to see why your licence is being requested.