Scientists have found a way to pinpoint what cells in the body a sample of DNA has come from.