Associative memory approach to the identification of structural and mechanical systems