[#42950875] add element_name_to_index method to Container