fixes #391 - appending underscores if all nicknames of the identity are unavailable