Ensure that pins can be found by either an index, name or id property value. Closes gh-19

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>