It is well know that marriage is a leagal relation ship in most countries around the world.
If some one is born after his maother and father getting married then it is clear that he had came through legal relation ship, if he came before his father and mother getting married then he had came by illegal relation ship.