User: Add function to get AP ids from nicknames.