It occurred to me there is also a strong argument to also change "it" to "it.name()" in the following line:
label = messages.get( _property.relation +'.' + it );
That way the lookup value in the messages won't change if the developer changes the behavior of toString().
It occurred to me there is also a strong argument to also change "it" to "it.name()" in the following line:
label = messages.get( _property.relation +'.' + it );
That way the lookup value in the messages won't change if the developer changes the behavior of toString().