Including optional uuuid argument in _patterns_save_pattern and _patterns_save_pattern_db to allow fetch actions to set it