derive labelfactory from sgobject