[Resolver] Fixed #105 resolving the .ptr static property properly. Also refactored the way how static property base types may be resolved.