common: Add '$i:identd', '*' for empty, tooltips
Add "$i:identd" paramater variable to aliases, representing the ident
if verified, or "*" if unknown or unverified (prefixed with '~').
This allows for a general banning rule to target all idents for a
nickname that doesn't provide verified idents (e.g. general clients),
while limiting bans to specific idents for a nickname that provides a
verified ident (e.g. shared bouncer/core).
For example...
/mode channel +b *!$1:identd:$1:hostname
...would target "*!*@bad.example.com" for someone connecting without
an identd server, and "*!userid@shared.example.com" for someone
connecting with an identd server.
For all nickname-based parameters, substitute in "*" when empty
instead of leaving it blank. This means using the variables for
nicknames that haven't been WHO'd will still provide results.
This may be dangerous if using the above example /ban alias on a
nickname that doesn't have hostname information available, e.g. if
you joined a channel after they did.
Update alias tooltips with 'identd', and totally revamp them using
the table layout for better readability and (hopefully?) easier
translation.
Update the comments in AliasManager, too, so it's a bit more
readable.
Thanks Exterminador for the suggestion/reporting, and @justJanne for
further clarifications!