You could probably iterate all parameters, get theirs ids, and compare it to the passed id:
model = models.resnet18()
my_id = id(model.fc.weight)

for name, param in model.named_parameters():
    if my_id == id(param):
        print(name, ' found')