adds_random_hex_generator_helper_function

This is so maas can use this to create ids for all its elements 
Same comment about docstring as in the function implementation :)