Set server ID at startup if not already set