Updated NSM Attribute Assigner to support grid.