The principles which lead and direct philosophical enquiries : illustrated by the history of astronomy