Build a reference from three parts