Pass vertex id to custom node.

I need to link vertices of a mesh created through “CreateMeshSection” with ones in a custom node. Is there any way to pass vertex id or bind any other attribute to vertices so it is available in a material?