Only add artefact if an ID is present