Id implementation

-A option
Finally made work Gn and full
Add P function
Add pretty option
Added g option
Finish with id