Fractal modelling of hierarchical resistant materials