Do we want to insist that Dirichlet bc functions that do not appear
inside a form are constructed with a FunctionSpace? DirichletBC is
supplied with a FunctionSpace, so if the bc Function does not have a
FunctionSpace, we could attach one automatically.