Access Texture Coordinate Index via Material Instance?

I have used a switch node with a scalar function input node in a material function and reused it for my multi-mapped uv objects. It can be called in instances on the go.