Lets user choose identity to use in key generation

Fixes missing ident when generating keys outside compose action (#40)