Implemented Lookup and LookupId for posix systems.