Obtaining 64 character id from google_container_cluster resource

The .id attribute returned by the google_container_cluster resource is the “projects/PROJ/locations/LOC/clusters/CLUSTERNAME” REST object reference.

Is there an idiomatic way to obtain the 64-character internal id that is returned by gcloud container cluster describe 's .id attribute? It is used in the naming of some automatically generated firewall rules that I need to modify.