get_uid() method