anchor.diff:            if length(Rest) == 0 ->
               if ArrayIndex > 0 -> 
                 ValueNameStr = string:substr(ValueIdStr, 1, LeftBracket-1),
  -              ValueName = list_to_atom(ValueNameStr),
  +              ValueName = ui_utils:get_attrib_id(ValueNameStr),
                 {ok, {ValueName, ArrayIndex}};
               true -> % ArrayIndex =< 0
                 {error, invalid}
  
positive.code: % 
  %   Test good non-array value id
  str_to_value_id_valuename_valid_test() ->
    Result = str_to_value_id("good_value"),
    ExpectedResult = {ok, good_value},
    ?assertEqual(ExpectedResult, Result).
  
  %   Test good array value id 1
  str_to_value_id_valuename_array_valid1_test() ->
    Result = str_to_value_id("good_array[10]"),
    ExpectedResult = {ok, {good_array, 10}},
    ?assertEqual(ExpectedResult, Result).
  
  %   Test good array value id 2
  str_to_value_id_valuename_array_valid2_test() ->
    Result = str_to_value_id("good_array[010]"),
    ExpectedResult = {ok, {good_array, 10}},
    ?assertEqual(ExpectedResult, Result).
  
  %   Test bad array value id 2
  str_to_value_id_valuename_array_invalid2_test() ->
    Result = str_to_value_id("bad_array[0]"),
    ExpectedResult = {error, invalid},
    ?assertEqual(ExpectedResult, Result).
  
  %   Test bad array value id 3
  str_to_value_id_valuename_array_invalid3_test() ->
    Result = str_to_value_id("bad_array[-123]"),
    ExpectedResult = {error, invalid},
    ?assertEqual(ExpectedResult, Result).
  
  %   Test bad array value id 4
  str_to_value_id_valuename_array_invalid4_test() ->
    Result = str_to_value_id("bad_array[12.34]"),
    ExpectedResult = {error, invalid},
    ?assertEqual(ExpectedResult, Result).
  % ====================================================================
  
negative.code: value_id_to_str(ValueId) ->
    case ValueId of
      {ValueName, Index} ->
        ValueNameStr = ui_utils:get_attrib_string(ValueName),
        lists:flatten(io_lib:format("~s[~b]", [ValueNameStr, Index]));
    
      ValueId -> ui_utils:get_attrib_string(ValueId)
    end.
  
  
  