Sometimes, while diagramming in rhino, it helps to easily see to which layer each object belongs. This script simply adds a text dot of 'layer name' at the center of each object, and then groups it with the object.
LabelByLayer.rvb - (change .txt to .rvb)