[FLAPI-108] Avoids name collisions in anonymous blocks by using a counter unique to the run.