quite simple: you use camerapick and it returns the mesh/whatever id you needed.
then you could loop through your entities and check whether that pickedId matches with one of your entities. after that: you can use other entity information (like name) to display stuff you need.
then you could loop through your entities and check whether that pickedId matches with one of your entities. after that: you can use other entity information (like name) to display stuff you need.