Harmonize the type of entity id and creates a general inclusion file.

Entity id's types have been seen as:
- size_t
- int
- unsigned int

This PR creates a id_t type that is used everywhere.