Scaling method in atomic and molecular physics