Relative dimension of morphisms and dimension for algebraic stacks - Brian Osserman (2013)