What counts as plagiarism and what doesn't?