usercollection: fix issue with long identifiers

* Fixes an issue where identifiers were used to generate role names
  longer than 32 chars and thereby exceeding the role limit.

* Adds validation of max identifier length..

* Enforces lower-case identifiers.
usercollection: update recors on delete

* Removes collection identifiers from records associated with
  a given user collection when it is deleted.