It's a name, not an id. The uid is a numerical value.
To retrieve the name there's several possibilities.
a) the one you already listed `who am i`
b) echo $LOGNAME
c) `id` which will give you pretty much all you need to
know about the user you're currently running the program
id as ... :} (in terms of id and groups, that is).