Add getting an identifier by obj

Signed-off-by: Chris Sanders <zidane@outlook.com>