Uses `id` implementation from prelude-ls
Fixes frequency implementation.