The frequency ratio method and the new multiperiodic gamma Doradus star HD 218427