Much more efficient statement name generation.