ActivityPub: Handle clashing nicknames for the same ap id
If we get a new user (identified by ap_id) that would have the same nickname as an existing user, give the existing user a nickname that is prepended with the user id, as this will never clash.
This can happen when a user switches server software and that soft- ware generates ap ids in a different way.
Closes #1716 (closed)