Better handler name generation

Generates handler name by different parameter values.