object: Add _set_name() test on parented object