l2hash: added const qualifier
l2hash: removed useless wrappers
l2hash: rename type to flavour to avoid confusion with columns