Give crate clients the possiblility of mapping source-level entity names to proper entity references that are valid in the parsed function.
Use (Function, Details) in place of the aggregrate DetailedFunction. It turns out that some tests want to clone and manipulate the function while the details never change.
The new exported function `parse_test()` will produce it eventually.