It was by assuming that everything in the book was written by Ignatius that it came to be looked upon as his composition.
The assumption that all of the book's content originated from Ignatius led to the perception of it as his creation.