On the uniform one-dimensional fragment