spaces: Use a dynamic port as factory id as preparation for the load balancer