@staticmethod<EOL><INDENT>def get_new_id(field, path, id_tracker, type_=str):<DEDENT>
if type_ == float:<EOL><INDENT>return <NUM_LIT><EOL><DEDENT>if type_ == int:<EOL><INDENT>return <NUM_LIT><EOL><DEDENT>dummy_name = '<STR_LIT>' % (path.replace('<STR_LIT:/>', '<STR_LIT>'), field)<EOL>count = len(list(filter(lambda x: str(x).startswith(dummy_name), id_tracker.values())))<EOL>return "<STR_LIT>" % (dummy_name, count + <NUM_LIT:1>)<EOL>
Creates a new dummy id (or value) for replacing an existing id (or value).

        Args:
            field (str): field name is used, in same cases, to create a dummy value.
            path (str): path of the request is used, in same cases, to create a dummy value.
            id_tracker (dict): a map of already assigned ids and generated ids.
            type_ (type): type of the value.

        Returns:
            str: that is used to replace a value.