Identity selection

Java auto generates a name for inner classes even when anonymous and part of a method. Something like OuterClassName$1. But this is old code that need to be reviewed anyway.