denormalise name in elasticsearch; add id endpoints

We don't need to denormalise the id-related data in the entity mongo doc
yet, although that will be easy to add later if/when required.

Ok, why not :)