core: Fix TestContext2Apply_idAttr
core: Fix TestContext2Apply_idAttr

The "num" attribute is marked as being a number in the provider schema, so
we are now required to make it actually convertible to number.

hashicorp/terraform-plugin-sdk,hashicorp/terraform-plugin-sdk