Removed a hard-coded "__".

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Moved GeneratedIdentifier to the base Generator so that the former is available to all back-ends.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>