On point mass identification in rods and beams from minimal frequency measurements