Modifying the default behavior of entities to add suffixes with indexes if there are more than one of the same class