Merge branch 'tristan/fix-cloned-plugin-ids-1.2' into 'bst-1.2'

Tristan/fix cloned plugin ids 1.2

See merge request BuildStream/buildstream!1315