Part name tied to equation

I'm interested in tieing the name of a part to a dimension or variable in the drawing.  Is this possible?

Specifically I am interested in making a part for AN3 and AN4 bolts which reflects the length they are drawn to.

SolidworksParts And Features