Added get_a_id for gettting activity id wihtout leading url stuff.