feat($getId) closes #1033 - getId method