Add MultiBodyGraph::bodyIdByName.