Structural identification of existing masonry buildings