The prime spectrum and dimension of ideal transform algebras