adds an ID to trigger if an id is not given