A small function to retrieve the ID of the profile owner

Signed-off-by: emanuele <emanuele45@gmail.com>