shared: Make name optional for get/set label

Signed-off-by: William Douglas <william.douglas@intel.com>