Non-linear dynamic identification of masonry structures