clientId

The clientId read-only property of the FetchEvent interface returns the id of the Client that the current service worker is controlling.

MDN Reference