Try to use the server id in format message if no uid is provided.