Characterising trees and hyperbolic spaces by their boundaries | Synapse