Text this: The Strategic Importance of Knowledge of the Territory in the Formation of a Defensive System: The Case of Sintra (Portugal) During the Islamic Period