A national inventory is set to capture the unique customs and traditions which shape communities, including those in Wales.